bitkeeper revision 1.1713.1.5 (42ae0d44bPpuSBR0o475OuEOeDlNPg)
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 13 Jun 2005 22:48:36 +0000 (22:48 +0000)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Mon, 13 Jun 2005 22:48:36 +0000 (22:48 +0000)
Fix xs Python module for Python <2.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/lowlevel/xs/xs.c

index 6ecddc6fd40fae1e3589bf770bc7194ce1788e9c..0da0fbcb3e1a74ee4f99da566adbd047ce01616e 100644 (file)
@@ -14,9 +14,9 @@
  */
 
 /* Needed for Python versions earlier than 2.3. */
-//#ifndef PyMODINIT_FUNC
-//#define PyMODINIT_FUNC DL_EXPORT(void)
-//#endif
+#ifndef PyMODINIT_FUNC
+#define PyMODINIT_FUNC DL_EXPORT(void)
+#endif
 
 #define PYPKG    "xen.lowlevel.xs"